home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-02-26 | 19.3 KB | 650 lines | [TEXT/MPS ] |
- ;
- ; File: ImageCodec.a
- ;
- ; Contains: QuickTime interfaces
- ;
- ; Version: Technology:
- ; Release: QuickTime 2.5 interfaces to use with ETO #20
- ;
- ; Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
- ;
- ; Bugs?: If you find a problem with this file, send the file and version
- ; information (from above) and the problem description to:
- ;
- ; Internet: apple.bugs@applelink.apple.com
- ; AppleLink: APPLE.BUGS
- ;
- ;
- IF &TYPE('__IMAGECODEC__') = 'UNDEFINED' THEN
- __IMAGECODEC__ SET 1
-
- IF &TYPE('__TYPES__') = 'UNDEFINED' THEN
- include 'Types.a'
- ENDIF
- IF &TYPE('__QUICKDRAW__') = 'UNDEFINED' THEN
- include 'Quickdraw.a'
- ENDIF
- IF &TYPE('__QDOFFSCREEN__') = 'UNDEFINED' THEN
- include 'QDOffscreen.a'
- ENDIF
- IF &TYPE('__WINDOWS__') = 'UNDEFINED' THEN
- include 'Windows.a'
- ENDIF
- IF &TYPE('__IMAGECOMPRESSION__') = 'UNDEFINED' THEN
- include 'ImageCompression.a'
- ENDIF
- IF &TYPE('__COMPONENTS__') = 'UNDEFINED' THEN
- include 'Components.a'
- ENDIF
- IF &TYPE('__MOVIES__') = 'UNDEFINED' THEN
- include 'Movies.a'
- ENDIF
- ; codec capabilities flags
-
- codecCanScale EQU $00000001
- codecCanMask EQU $00000002
- codecCanMatte EQU $00000004
- codecCanTransform EQU $00000008
- codecCanTransferMode EQU $00000010
- codecCanCopyPrev EQU $00000020
- codecCanSpool EQU $00000040
- codecCanClipVertical EQU $00000080
- codecCanClipRectangular EQU $00000100
- codecCanRemapColor EQU $00000200
- codecCanFastDither EQU $00000400
- codecCanSrcExtract EQU $00000800
- codecCanCopyPrevComp EQU $00001000
- codecCanAsync EQU $00002000
- codecCanMakeMask EQU $00004000
- codecCanShift EQU $00008000
- codecCanAsyncWhen EQU $00010000
- codecCanShieldCursor EQU $00020000
- codecCanManagePrevBuffer EQU $00040000
- codecHasVolatileBuffer EQU $00080000
- codecWantsRegionMask EQU $00100000
- codecImageBufferIsOnScreen EQU $00200000
- codecWantsDestinationPixels EQU $00400000
- CodecCapabilities RECORD 0
- flags ds.l 1 ; offset: $0 (0)
- wantedPixelSize ds.w 1 ; offset: $4 (4)
- extendWidth ds.w 1 ; offset: $6 (6)
- extendHeight ds.w 1 ; offset: $8 (8)
- bandMin ds.w 1 ; offset: $A (10)
- bandInc ds.w 1 ; offset: $C (12)
- pad ds.w 1 ; offset: $E (14)
- time ds.l 1 ; offset: $10 (16)
- sizeof EQU * ; size: $14 (20)
- ENDR
- ; codec condition flags
-
- codecConditionFirstBand EQU $00000001
- codecConditionLastBand EQU $00000002
- codecConditionFirstFrame EQU $00000004
- codecConditionNewDepth EQU $00000008
- codecConditionNewTransform EQU $00000010
- codecConditionNewSrcRect EQU $00000020
- codecConditionNewMask EQU $00000040
- codecConditionNewMatte EQU $00000080
- codecConditionNewTransferMode EQU $00000100
- codecConditionNewClut EQU $00000200
- codecConditionNewAccuracy EQU $00000400
- codecConditionNewDestination EQU $00000800
- codecConditionFirstScreen EQU $00001000
- codecConditionDoCursor EQU $00002000
- codecConditionCatchUpDiff EQU $00004000
- codecConditionMaskMayBeChanged EQU $00008000
- codecConditionToBuffer EQU $00010000
- codecConditionCodecChangedMask EQU $80000000
-
- codecInfoResourceType EQU 'cdci' ; codec info resource type
- codecInterfaceVersion EQU 2 ; high word returned in component GetVersion
- CDSequenceDataSource RECORD 0
- recordSize ds.l 1 ; offset: $0 (0)
- next ds.l 1 ; offset: $4 (4)
- seqID ds.l 1 ; offset: $8 (8)
- sourceID ds.l 1 ; offset: $C (12)
- sourceType ds.l 1 ; offset: $10 (16)
- sourceInputNumber ds.l 1 ; offset: $14 (20)
- dataPtr ds.l 1 ; offset: $18 (24)
- dataDescription ds.l 1 ; offset: $1C (28)
- changeSeed ds.l 1 ; offset: $20 (32)
- transferProc ds.l 1 ; offset: $24 (36)
- transferRefcon ds.l 1 ; offset: $28 (40)
- dataSize ds.l 1 ; offset: $2C (44)
- sizeof EQU * ; size: $30 (48)
- ENDR
- ; typedef struct CDSequenceDataSource * CDSequenceDataSourcePtr
-
- CodecCompressParams RECORD 0
- sequenceID ds.l 1 ; offset: $0 (0) ; precompress,bandcompress
- imageDescription ds.l 1 ; offset: $4 (4) ; precompress,bandcompress
- data ds.l 1 ; offset: $8 (8)
- bufferSize ds.l 1 ; offset: $C (12)
- frameNumber ds.l 1 ; offset: $10 (16)
- startLine ds.l 1 ; offset: $14 (20)
- stopLine ds.l 1 ; offset: $18 (24)
- conditionFlags ds.l 1 ; offset: $1C (28)
- callerFlags ds.w 1 ; offset: $20 (32)
- capabilities ds.l 1 ; offset: $22 (34) ; precompress,bandcompress
- progressProcRecord ds ICMProgressProcRecord ; offset: $26 (38)
- completionProcRecord ds ICMCompletionProcRecord ; offset: $2E (46)
- flushProcRecord ds ICMFlushProcRecord ; offset: $36 (54)
- srcPixMap ds PixMap ; offset: $3E (62) ; precompress,bandcompress
- prevPixMap ds PixMap ; offset: $70 (112)
- spatialQuality ds.l 1 ; offset: $A2 (162)
- temporalQuality ds.l 1 ; offset: $A6 (166)
- similarity ds.l 1 ; offset: $AA (170)
- dataRateParams ds.l 1 ; offset: $AE (174)
- reserved ds.l 1 ; offset: $B2 (178)
- ; The following fields only exist for QuickTime 2.1 and greater
- majorSourceChangeSeed ds.w 1 ; offset: $B6 (182)
- minorSourceChangeSeed ds.w 1 ; offset: $B8 (184)
- sourceData ds.l 1 ; offset: $BA (186)
- ; The following fields only exit for QuickTime 2.5 and greater
- preferredPacketSizeInBytes ds.l 1 ; offset: $BE (190)
- sizeof EQU * ; size: $C2 (194)
- ENDR
- CodecDecompressParams RECORD 0
- sequenceID ds.l 1 ; offset: $0 (0) ; predecompress,banddecompress
- imageDescription ds.l 1 ; offset: $4 (4) ; predecompress,banddecompress
- data ds.l 1 ; offset: $8 (8)
- bufferSize ds.l 1 ; offset: $C (12)
- frameNumber ds.l 1 ; offset: $10 (16)
- startLine ds.l 1 ; offset: $14 (20)
- stopLine ds.l 1 ; offset: $18 (24)
- conditionFlags ds.l 1 ; offset: $1C (28)
- callerFlags ds.w 1 ; offset: $20 (32)
- capabilities ds.l 1 ; offset: $22 (34) ; predecompress,banddecompress
- progressProcRecord ds ICMProgressProcRecord ; offset: $26 (38)
- completionProcRecord ds ICMCompletionProcRecord ; offset: $2E (46)
- dataProcRecord ds ICMDataProcRecord ; offset: $36 (54)
- port ds.l 1 ; offset: $3E (62) ; predecompress,banddecompress
- dstPixMap ds PixMap ; offset: $42 (66) ; predecompress,banddecompress
- maskBits ds.l 1 ; offset: $74 (116)
- mattePixMap ds.l 1 ; offset: $78 (120)
- srcRect ds Rect ; offset: $7C (124) ; predecompress,banddecompress
- matrix ds.l 1 ; offset: $84 (132) ; predecompress,banddecompress
- accuracy ds.l 1 ; offset: $88 (136) ; predecompress,banddecompress
- transferMode ds.w 1 ; offset: $8C (140) ; predecompress,banddecompress
- frameTime ds.l 1 ; offset: $8E (142) ; banddecompress
- reserved ds.l 1 ; offset: $92 (146) <-- really an array of length one
- ; The following fields only exist for QuickTime 2.0 and greater
- matrixFlags ds.b 1 ; offset: $96 (150) ; high bit set if 2x resize
- matrixType ds.b 1 ; offset: $97 (151)
- dstRect ds Rect ; offset: $98 (152) ; only valid for simple transforms
- ; The following fields only exist for QuickTime 2.1 and greater
- majorSourceChangeSeed ds.w 1 ; offset: $A0 (160)
- minorSourceChangeSeed ds.w 1 ; offset: $A2 (162)
- sourceData ds.l 1 ; offset: $A4 (164)
- maskRegion ds.l 1 ; offset: $A8 (168)
- ; The following fields only exist for QuickTime 2.5 and greater
- wantedDestinationPixelTypes ds.l 1 ; offset: $AC (172) ; Handle to 0-terminated list of OSTypes
- screenFloodMethod ds.l 1 ; offset: $B0 (176)
- screenFloodValue ds.l 1 ; offset: $B4 (180)
- preferredOffscreenPixelSize ds.w 1 ; offset: $B8 (184)
- sizeof EQU * ; size: $BA (186)
- ENDR
-
- matrixFlagScale2x EQU $00000080
- matrixFlagScale1x EQU $00000040
- matrixFlagScaleHalf EQU $00000020
-
- kScreenFloodMethodNone EQU 0
- kScreenFloodMethodKeyColor EQU 1
- kScreenFloodMethodAlpha EQU 2
- ; codec selectors 0-127 are reserved by Apple
- ; codec selectors 128-191 are subtype specific
- ; codec selectors 192-255 are vendor specific
- ; codec selectors 256-32767 are available for general use
- ; negative selectors are reserved by the Component Manager
- ;
- ; pascal ComponentResult ImageCodecGetCodecInfo(ComponentInstance ci, CodecInfo *info)
- ;
- IF ¬ GENERATINGCFM THEN
- Macro
- _ImageCodecGetCodecInfo
- dc.w $2F3C
- dc.w $0004
- dc.w $0000
- moveq #0,d0
- dc.w $A82A
- EndM
- ELSE
- IMPORT_CFM_FUNCTION ImageCodecGetCodecInfo
- ENDIF
-
- ;
- ; pascal ComponentResult ImageCodecGetCompressionTime(ComponentInstance ci, PixMapHandle src, const Rect *srcRect, short depth, CodecQ *spatialQuality, CodecQ *temporalQuality, unsigned long *time)
- ;
- IF ¬ GENERATINGCFM THEN
- Macro
- _ImageCodecGetCompressionTime
- dc.w $2F3C
- dc.w $0016
- dc.w $0001
- moveq #0,d0
- dc.w $A82A
- EndM
- ELSE
- IMPORT_CFM_FUNCTION ImageCodecGetCompressionTime
- ENDIF
-
- ;
- ; pascal ComponentResult ImageCodecGetMaxCompressionSize(ComponentInstance ci, PixMapHandle src, const Rect *srcRect, short depth, CodecQ quality, long *size)
- ;
- IF ¬ GENERATINGCFM THEN
- Macro
- _ImageCodecGetMaxCompressionSize
- dc.w $2F3C
- dc.w $0012
- dc.w $0002
- moveq #0,d0
- dc.w $A82A
- EndM
- ELSE
- IMPORT_CFM_FUNCTION ImageCodecGetMaxCompressionSize
- ENDIF
-
- ;
- ; pascal ComponentResult ImageCodecPreCompress(ComponentInstance ci, CodecCompressParams *params)
- ;
- IF ¬ GENERATINGCFM THEN
- Macro
- _ImageCodecPreCompress
- dc.w $2F3C
- dc.w $0004
- dc.w $0003
- moveq #0,d0
- dc.w $A82A
- EndM
- ELSE
- IMPORT_CFM_FUNCTION ImageCodecPreCompress
- ENDIF
-
- ;
- ; pascal ComponentResult ImageCodecBandCompress(ComponentInstance ci, CodecCompressParams *params)
- ;
- IF ¬ GENERATINGCFM THEN
- Macro
- _ImageCodecBandCompress
- dc.w $2F3C
- dc.w $0004
- dc.w $0004
- moveq #0,d0
- dc.w $A82A
- EndM
- ELSE
- IMPORT_CFM_FUNCTION ImageCodecBandCompress
- ENDIF
-
- ;
- ; pascal ComponentResult ImageCodecPreDecompress(ComponentInstance ci, CodecDecompressParams *params)
- ;
- IF ¬ GENERATINGCFM THEN
- Macro
- _ImageCodecPreDecompress
- dc.w $2F3C
- dc.w $0004
- dc.w $0005
- moveq #0,d0
- dc.w $A82A
- EndM
- ELSE
- IMPORT_CFM_FUNCTION ImageCodecPreDecompress
- ENDIF
-
- ;
- ; pascal ComponentResult ImageCodecBandDecompress(ComponentInstance ci, CodecDecompressParams *params)
- ;
- IF ¬ GENERATINGCFM THEN
- Macro
- _ImageCodecBandDecompress
- dc.w $2F3C
- dc.w $0004
- dc.w $0006
- moveq #0,d0
- dc.w $A82A
- EndM
- ELSE
- IMPORT_CFM_FUNCTION ImageCodecBandDecompress
- ENDIF
-
- ;
- ; pascal ComponentResult ImageCodecBusy(ComponentInstance ci, ImageSequence seq)
- ;
- IF ¬ GENERATINGCFM THEN
- Macro
- _ImageCodecBusy
- dc.w $2F3C
- dc.w $0004
- dc.w $0007
- moveq #0,d0
- dc.w $A82A
- EndM
- ELSE
- IMPORT_CFM_FUNCTION ImageCodecBusy
- ENDIF
-
- ;
- ; pascal ComponentResult ImageCodecGetCompressedImageSize(ComponentInstance ci, ImageDescriptionHandle desc, Ptr data, long bufferSize, ICMDataProcRecordPtr dataProc, long *dataSize)
- ;
- IF ¬ GENERATINGCFM THEN
- Macro
- _ImageCodecGetCompressedImageSize
- dc.w $2F3C
- dc.w $0014
- dc.w $0008
- moveq #0,d0
- dc.w $A82A
- EndM
- ELSE
- IMPORT_CFM_FUNCTION ImageCodecGetCompressedImageSize
- ENDIF
-
- ;
- ; pascal ComponentResult ImageCodecGetSimilarity(ComponentInstance ci, PixMapHandle src, const Rect *srcRect, ImageDescriptionHandle desc, Ptr data, Fixed *similarity)
- ;
- IF ¬ GENERATINGCFM THEN
- Macro
- _ImageCodecGetSimilarity
- dc.w $2F3C
- dc.w $0014
- dc.w $0009
- moveq #0,d0
- dc.w $A82A
- EndM
- ELSE
- IMPORT_CFM_FUNCTION ImageCodecGetSimilarity
- ENDIF
-
- ;
- ; pascal ComponentResult ImageCodecTrimImage(ComponentInstance ci, ImageDescriptionHandle Desc, Ptr inData, long inBufferSize, ICMDataProcRecordPtr dataProc, Ptr outData, long outBufferSize, ICMFlushProcRecordPtr flushProc, Rect *trimRect, ICMProgressProcRecordPtr progressProc)
- ;
- IF ¬ GENERATINGCFM THEN
- Macro
- _ImageCodecTrimImage
- dc.w $2F3C
- dc.w $0024
- dc.w $000A
- moveq #0,d0
- dc.w $A82A
- EndM
- ELSE
- IMPORT_CFM_FUNCTION ImageCodecTrimImage
- ENDIF
-
- ;
- ; pascal ComponentResult ImageCodecRequestSettings(ComponentInstance ci, Handle settings, Rect *rp, ModalFilterUPP filterProc)
- ;
- IF ¬ GENERATINGCFM THEN
- Macro
- _ImageCodecRequestSettings
- dc.w $2F3C
- dc.w $000C
- dc.w $000B
- moveq #0,d0
- dc.w $A82A
- EndM
- ELSE
- IMPORT_CFM_FUNCTION ImageCodecRequestSettings
- ENDIF
-
- ;
- ; pascal ComponentResult ImageCodecGetSettings(ComponentInstance ci, Handle settings)
- ;
- IF ¬ GENERATINGCFM THEN
- Macro
- _ImageCodecGetSettings
- dc.w $2F3C
- dc.w $0004
- dc.w $000C
- moveq #0,d0
- dc.w $A82A
- EndM
- ELSE
- IMPORT_CFM_FUNCTION ImageCodecGetSettings
- ENDIF
-
- ;
- ; pascal ComponentResult ImageCodecSetSettings(ComponentInstance ci, Handle settings)
- ;
- IF ¬ GENERATINGCFM THEN
- Macro
- _ImageCodecSetSettings
- dc.w $2F3C
- dc.w $0004
- dc.w $000D
- moveq #0,d0
- dc.w $A82A
- EndM
- ELSE
- IMPORT_CFM_FUNCTION ImageCodecSetSettings
- ENDIF
-
- ;
- ; pascal ComponentResult ImageCodecFlush(ComponentInstance ci)
- ;
- IF ¬ GENERATINGCFM THEN
- Macro
- _ImageCodecFlush
- dc.w $2F3C
- dc.w $0000
- dc.w $000E
- moveq #0,d0
- dc.w $A82A
- EndM
- ELSE
- IMPORT_CFM_FUNCTION ImageCodecFlush
- ENDIF
-
- ;
- ; pascal ComponentResult ImageCodecSetTimeCode(ComponentInstance ci, void *timeCodeFormat, void *timeCodeTime)
- ;
- IF ¬ GENERATINGCFM THEN
- Macro
- _ImageCodecSetTimeCode
- dc.w $2F3C
- dc.w $0008
- dc.w $000F
- moveq #0,d0
- dc.w $A82A
- EndM
- ELSE
- IMPORT_CFM_FUNCTION ImageCodecSetTimeCode
- ENDIF
-
- ;
- ; pascal ComponentResult ImageCodecIsImageDescriptionEquivalent(ComponentInstance ci, ImageDescriptionHandle newDesc, Boolean *equivalent)
- ;
- IF ¬ GENERATINGCFM THEN
- Macro
- _ImageCodecIsImageDescriptionEquivalent
- dc.w $2F3C
- dc.w $0008
- dc.w $0010
- moveq #0,d0
- dc.w $A82A
- EndM
- ELSE
- IMPORT_CFM_FUNCTION ImageCodecIsImageDescriptionEquivalent
- ENDIF
-
- ;
- ; pascal ComponentResult ImageCodecNewMemory(ComponentInstance ci, Ptr *data, Size dataSize, long dataUse, ICMMemoryDisposedUPP memoryGoneProc, void *refCon)
- ;
- IF ¬ GENERATINGCFM THEN
- Macro
- _ImageCodecNewMemory
- dc.w $2F3C
- dc.w $0014
- dc.w $0011
- moveq #0,d0
- dc.w $A82A
- EndM
- ELSE
- IMPORT_CFM_FUNCTION ImageCodecNewMemory
- ENDIF
-
- ;
- ; pascal ComponentResult ImageCodecDisposeMemory(ComponentInstance ci, Ptr data)
- ;
- IF ¬ GENERATINGCFM THEN
- Macro
- _ImageCodecDisposeMemory
- dc.w $2F3C
- dc.w $0004
- dc.w $0012
- moveq #0,d0
- dc.w $A82A
- EndM
- ELSE
- IMPORT_CFM_FUNCTION ImageCodecDisposeMemory
- ENDIF
-
- ;
- ; pascal ComponentResult ImageCodecHitTestData(ComponentInstance ci, ImageDescriptionHandle desc, void *data, Size dataSize, Point where, Boolean *hit)
- ;
- IF ¬ GENERATINGCFM THEN
- Macro
- _ImageCodecHitTestData
- dc.w $2F3C
- dc.w $0014
- dc.w $0013
- moveq #0,d0
- dc.w $A82A
- EndM
- ELSE
- IMPORT_CFM_FUNCTION ImageCodecHitTestData
- ENDIF
-
- ;
- ; pascal ComponentResult ImageCodecNewImageBufferMemory(ComponentInstance ci, CodecDecompressParams *params, long flags, ICMMemoryDisposedUPP memoryGoneProc, void *refCon)
- ;
- IF ¬ GENERATINGCFM THEN
- Macro
- _ImageCodecNewImageBufferMemory
- dc.w $2F3C
- dc.w $0010
- dc.w $0014
- moveq #0,d0
- dc.w $A82A
- EndM
- ELSE
- IMPORT_CFM_FUNCTION ImageCodecNewImageBufferMemory
- ENDIF
-
- ;
- ; pascal ComponentResult ImageCodecExtractAndCombineFields(ComponentInstance ci, long fieldFlags, void *data1, long dataSize1, ImageDescriptionHandle desc1, void *data2, long dataSize2, ImageDescriptionHandle desc2, void *outputData, long *outDataSize, ImageDescriptionHandle descOut)
- ;
- IF ¬ GENERATINGCFM THEN
- Macro
- _ImageCodecExtractAndCombineFields
- dc.w $2F3C
- dc.w $0028
- dc.w $0015
- moveq #0,d0
- dc.w $A82A
- EndM
- ELSE
- IMPORT_CFM_FUNCTION ImageCodecExtractAndCombineFields
- ENDIF
-
- ;
- ; pascal ComponentResult ImageCodecGetMaxCompressionSizeWithSources(ComponentInstance ci, PixMapHandle src, const Rect *srcRect, short depth, CodecQ quality, CDSequenceDataSourcePtr sourceData, long *size)
- ;
- IF ¬ GENERATINGCFM THEN
- Macro
- _ImageCodecGetMaxCompressionSizeWithSources
- dc.w $2F3C
- dc.w $0016
- dc.w $0016
- moveq #0,d0
- dc.w $A82A
- EndM
- ELSE
- IMPORT_CFM_FUNCTION ImageCodecGetMaxCompressionSizeWithSources
- ENDIF
-
-
- kMotionJPEGTag EQU 'mjpg'
- MotionJPEGApp1Marker RECORD 0
- unused ds.l 1 ; offset: $0 (0)
- tag ds.l 1 ; offset: $4 (4)
- fieldSize ds.l 1 ; offset: $8 (8)
- paddedFieldSize ds.l 1 ; offset: $C (12)
- offsetToNextField ds.l 1 ; offset: $10 (16)
- qTableOffset ds.l 1 ; offset: $14 (20)
- huffmanTableOffset ds.l 1 ; offset: $18 (24)
- sofOffset ds.l 1 ; offset: $1C (28)
- sosOffset ds.l 1 ; offset: $20 (32)
- soiOffset ds.l 1 ; offset: $24 (36)
- sizeof EQU * ; size: $28 (40)
- ENDR
- ;
- ; pascal ComponentResult QTPhotoSetSampling(ComponentInstance codec, short yH, short yV, short cbH, short cbV, short crH, short crV)
- ;
- IF ¬ GENERATINGCFM THEN
- Macro
- _QTPhotoSetSampling
- dc.w $2F3C
- dc.w $000C
- dc.w $0100
- moveq #0,d0
- dc.w $A82A
- EndM
- ELSE
- IMPORT_CFM_FUNCTION QTPhotoSetSampling
- ENDIF
-
- ;
- ; pascal ComponentResult QTPhotoSetRestartInterval(ComponentInstance codec, unsigned short restartInterval)
- ;
- IF ¬ GENERATINGCFM THEN
- Macro
- _QTPhotoSetRestartInterval
- dc.w $2F3C
- dc.w $0002
- dc.w $0101
- moveq #0,d0
- dc.w $A82A
- EndM
- ELSE
- IMPORT_CFM_FUNCTION QTPhotoSetRestartInterval
- ENDIF
-
- ;
- ; pascal ComponentResult QTPhotoDefineHuffmanTable(ComponentInstance codec, short componentNumber, Boolean isDC, unsigned char *lengthCounts, unsigned char *values)
- ;
- IF ¬ GENERATINGCFM THEN
- Macro
- _QTPhotoDefineHuffmanTable
- dc.w $2F3C
- dc.w $000C
- dc.w $0102
- moveq #0,d0
- dc.w $A82A
- EndM
- ELSE
- IMPORT_CFM_FUNCTION QTPhotoDefineHuffmanTable
- ENDIF
-
- ;
- ; pascal ComponentResult QTPhotoDefineQuantizationTable(ComponentInstance codec, short componentNumber, unsigned char *table)
- ;
- IF ¬ GENERATINGCFM THEN
- Macro
- _QTPhotoDefineQuantizationTable
- dc.w $2F3C
- dc.w $0006
- dc.w $0103
- moveq #0,d0
- dc.w $A82A
- EndM
- ELSE
- IMPORT_CFM_FUNCTION QTPhotoDefineQuantizationTable
- ENDIF
-
- ; UPP call backs
- ENDIF ; __IMAGECODEC__
-
-